package day01;

public class demo1 {
    public static void main(String[] args) {
        int a=1;

        for (int day=9;day>=1;day--){
            a=(a+1)*2;
            }
            System.out.println("第一天共摘了"+a+"个桃子");
        }



    }

